package com.kkb.robotcustomerservice.entities;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
/**
 *  消息实体类
 * @author Administrator
 */
@Data
@TableName("chat")
public class Chat {


    @TableField("chat_id")
    @TableId(type = IdType.AUTO)
    private Integer chatId;

    @TableField("chat_info")
    private String chatInfo;

    @TableField("user_id")
    private Integer userId;

    @TableField("sender")
    private Integer sender;

    @TableField("send_time")
    private Date sendTime;

/*    @TableLogic
    @TableField(fill = FieldFill.INSERT)//自动填充*/
    @TableField("valid_state")
    private Integer validState;

}
